ZEN SYSTEMS

Free SharePoint Online web part · version 1.0.4

Zen HTML Web Part

Paste your own HTML into a modern page. Scripts are removed before it renders, so no custom script setting is needed.

Install in five minutes

  1. Unzip this download. You need zen-html-web-part.sppkg from the folder.
  2. Open the SharePoint admin center, then More features > Apps > Open to reach your tenant App Catalog. (No catalog yet? SharePoint creates one the first time you open Apps.)
  3. Upload zen-html-web-part.sppkg to Apps for SharePoint, tick Make this app available to all sites and choose Deploy.
  4. Edit any modern page, choose + to add a web part, and pick Zen HTML Web Part from the Zen Systems group.
  5. Open the web part settings (pencil icon). Under Data source press Create the list on this site; the list is created with the right columns and sample items. Edit the items to make it yours.

Prefer PowerShell?

Connect-PnPOnline -Url https://<tenant>-admin.sharepoint.com -Interactive -ClientId <your PnP app id>
Add-PnPApp -Path .\zen-html-web-part.sppkg -Scope Tenant -Publish -SkipFeatureDeployment

Requirements: SharePoint Online (Microsoft 365). No custom scripts, no Microsoft Graph permissions and nothing for an administrator to approve beyond deploying the app.

A modern replacement for the classic Script Editor use case: paste your own HTML into a modern page and see it render. The markup is cleaned before rendering, so it stays safe and works without enabling custom scripts on the site.

Features

Settings

SettingWhat it does
Title (optional)Heading shown above the content.
HTMLThe markup to render.
Show card frameWraps the content in a white card. On by default.

FAQ

Is this a replacement for the classic Script Editor web part? For adding formatted HTML, yes. It deliberately does not run JavaScript, which keeps pages safe and supported in modern SharePoint.

Do I need to enable custom scripts? No. The HTML is sanitised before it renders.

Can I embed a YouTube video or a form? Iframes and forms are removed for safety. Use the built-in Embed web part for those, or contact us for a vetted embed web part.

Need something custom?

Zen Systems builds SharePoint intranets, corporate and department home pages, custom master pages for SharePoint Server, and web parts made to your brief. Visit zensystems.in, use the contact page, or email enquiry@zensystems.in.